Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ext/node): http2session ready state #25143

Merged
merged 1 commit into from
Aug 22, 2024

Conversation

caleblloyd
Copy link
Contributor

Fixes #25142

Signed-off-by: Caleb Lloyd <caleblloyd@gmail.com>
@CLAassistant
Copy link

CLAassistant commented Aug 22, 2024

CLA assistant check
All committers have signed the CLA.

Copy link
Member

@satyarohith satyarohith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - thanks for your contribution @caleblloyd!

@satyarohith satyarohith merged commit 79c7db3 into denoland:main Aug 22, 2024
17 checks passed
crowlKats pushed a commit to crowlKats/deno that referenced this pull request Aug 22, 2024
Fixes denoland#25142

Signed-off-by: Caleb Lloyd <caleblloyd@gmail.com>
(cherry picked from commit 79c7db3)
@marvinhagemeister
Copy link
Contributor

@satyarohith Should we add a test for this?

@satyarohith
Copy link
Member

@satyarohith Should we add a test for this?

Sure. I verified that the flag is set correctly but didn't ask for a test to avoid bloating the suite.

@marvinhagemeister
Copy link
Contributor

We can never have enough tests. The more tests we have, the easier it will be to do refactorings in the future as it allows us to be more confident that we didn't break something accidentally in the process.

@caleblloyd
Copy link
Contributor Author

If you can point me to the right file to write a test in, I can attempt to add one!

@caleblloyd caleblloyd deleted the http2-ready-state branch August 22, 2024 17:47
@caleblloyd
Copy link
Contributor Author

Looks like https://github.com/denoland/deno/blob/main/tests/unit_node/http2_test.ts is the right file, let me try to get one in there...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ClientHttp2Session reports Connecting, even after 'connect' event has been sent
4 participants